Skip to content

feat(dashboard): 增加分栏式插件管理器布局#4451

Open
AstralSolipsism wants to merge 2 commits intoAstrBotDevs:masterfrom
AstralSolipsism:feat/plugin-manager-frontend
Open

feat(dashboard): 增加分栏式插件管理器布局#4451
AstralSolipsism wants to merge 2 commits intoAstrBotDevs:masterfrom
AstralSolipsism:feat/plugin-manager-frontend

Conversation

@AstralSolipsism
Copy link

@AstralSolipsism AstralSolipsism commented Jan 13, 2026

本 PR 为 Dashboard 插件管理页面新增 Manager 布局模式,参考游戏 MOD 管理器的设计风格,提供更直观高效的插件管理体验,且分标签页的设计便于后期插件自带的WebUI面板以ifarm形式嵌入。所有修改仅涉及 dashboard 前端,对后端无任何改动。

Modifications / 改动点

新增 MOD Manager 布局模式(19 个新增文件)

  • 双列表布局(PluginDualList / PluginListTable):左侧展示激活/未激活插件列表,支持批量勾选与操作
  • 插件详情面板(PluginPanel / PluginWorkspace):右侧展示插件信息,支持 Info / Config / Overview / Changelog 标签页,标签页支持拖拽分离为独立面板
  • 可拖拽分割面板(ResizableSplitPane):支持横向/纵向分割条拖拽调整区域比例
  • 分离标签页面板(DetachedTabPane):支持将标签页从面板拖出为独立浮动窗户,可拖拽回靠
  • 批量操作栏(BatchOperationBar):批量启用/禁用/卸载插件
  • 视图模式切换:在原有卡片/列表视图基础上新增 MOD Manager 视图,用户可自由切换

Markdown 样式重构(3 个文件配套修改)

  • ReadmeDialog.vue 中的 scoped Markdown 样式(234 行)提取为全局 SCSS 模块 _MarkdownBody.scss,提升跨组件复用性
  • 增强了图片约束(table 内图片限高、badge 识别规则扩展)

国际化适配(3 个文件)

  • 补充该页面的 en-US / zh-CN / ru-RU 三语言的 MOD Manager 相关翻译键

集成入口(1 个文件修改)

  • InstalledPluginsTab.vue:新增三态视图切换(card / list / mod),集成 ModManagerLayout 组件,保留原有视图向后兼容

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果


ezgif-1a82991a1c450236

Checklist / 检查清单

  • 😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
    / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。

  • 👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
    / 我的更改经过了良好的测试,并已在上方提供了"验证步骤"和"运行截图"

  • 🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
    / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到 requirements.txtpyproject.toml 文件相应位置。

  • 😮 My changes do not introduce malicious code.
    / 我的更改没有引入恶意代码。

@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jan 13, 2026
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters

@dosubot dosubot bot added area:webui The bug / feature is about webui(dashboard) of astrbot. feature:plugin The bug / feature is about AstrBot plugin system. labels Jan 13, 2026
@AstralSolipsism AstralSolipsism marked this pull request as draft February 3, 2026 13:01
@AstralSolipsism AstralSolipsism force-pushed the feat/plugin-manager-frontend branch from 78c7a50 to d449d4e Compare March 17, 2026 13:08
@AstralSolipsism AstralSolipsism changed the title feat(dashboard): 插件管理器布局优化 + Pipeline可视化与提示词预览功能 feat(dashboard): 增加分栏式插件管理器布局 Mar 17, 2026
@AstralSolipsism AstralSolipsism marked this pull request as ready for review March 17, 2026 14:15
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters

@AstralSolipsism
Copy link
Author

@sourcery-ai review

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Mar 17, 2026

Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters

1 similar comment
@SourceryAI
Copy link

Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters

@AstralSolipsism AstralSolipsism force-pushed the feat/plugin-manager-frontend branch from d449d4e to c64de73 Compare March 17, 2026 14:30
@AstralSolipsism
Copy link
Author

AstralSolipsism commented Mar 17, 2026

@sourcery-ai review

@SourceryAI
Copy link

Sorry @AstralSolipsism, your pull request is larger than the review limit of 150000 diff characters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webui The bug / feature is about webui(dashboard) of astrbot. feature:plugin The bug / feature is about AstrBot plugin system. size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants